/*
  学习目标：泛型工具- Partial
  作用: 将所有的键, 转为可选的类型
  语法: Partial<类型>
*/

type MyObj = {
  name?: string;
  age: number;
  gender: string;
  gender1: string;
  gender2: string;
  gender3: string;
  gender4: string;
  gender5: string;
  gender123: string;
  gender6: string;
  gender7: string;
};

const zs: Partial<MyObj> = {};
